package com.atguigu.gulimallflow.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import utils.PageUtils;
import utils.Query;

import com.atguigu.gulimallflow.dao.ActHiEntitylinkDao;
import com.atguigu.gulimallflow.entity.ActHiEntitylinkEntity;
import com.atguigu.gulimallflow.service.ActHiEntitylinkService;


@Service("actHiEntitylinkService")
public class ActHiEntitylinkServiceImpl extends ServiceImpl<ActHiEntitylinkDao, ActHiEntitylinkEntity> implements ActHiEntitylinkService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<ActHiEntitylinkEntity> page = this.page(
                new Query<ActHiEntitylinkEntity>().getPage(params),
                new QueryWrapper<ActHiEntitylinkEntity>()
        );

        return new PageUtils(page);
    }

}
